﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bosphorus.Migrator.Dialect.NVelocity
{
    public class ModelNVelocityModelListDictionary: Dictionary<string, NVelocityModelList>
    {
        public new NVelocityModelList this[string modelName]
        {
            get
            {
                if (base.ContainsKey(modelName))
                    return base[modelName];

                NVelocityModelList nvelocityModelList = new NVelocityModelList();
                Add(modelName, nvelocityModelList);
                return nvelocityModelList;
            }
        }
    }
}
